<?php


namespace App\Http\Orchid;


use App\Http\Controllers\Controller;
use Orchid\Core\DBExecuteService;

class IndexController extends Controller
{
    private $dbExecute;

    /**
     * IndexController constructor.
     */
    public function __construct()
    {
        $this->dbExecute = new DBExecuteService();
    }


    public function index()
    {
        print $this->dbExecute->create('sometable', [[ 'name', 'varchar', 100, 'abc', null, null]]);
    }
}
